#include <stdio.h>
#include <math.h>
int main(int argc, char *argv[]) {

    float m;
    m = log10(6000 / (6000 - (300000 * 0.01))) / log10(1 + 0.01);
    printf("m=%.1f", m);
    return 0;
}